#include <g3dvtk/ColorMapPlasma.h>

using namespace g3dvtk;

const int NumberOfPlasmaColors_ = 1024;
unsigned char PlasmaColors_[NumberOfPlasmaColors_][3] = {
	47, 0, 135,
	48, 0, 135,
	48, 0, 136,
	48, 0, 136,
	49, 0, 136,
	49, 0, 137,
	49, 0, 137,
	50, 0, 137,
	50, 0, 138,
	51, 0, 138,
	51, 0, 138,
	51, 0, 139,
	52, 0, 139,
	52, 0, 139,
	53, 0, 139,
	53, 0, 140,
	53, 0, 140,
	54, 0, 140,
	54, 0, 141,
	54, 0, 141,
	55, 0, 141,
	55, 0, 141,
	55, 0, 142,
	56, 0, 142,
	56, 0, 142,
	57, 0, 142,
	57, 0, 143,
	57, 0, 143,
	58, 0, 143,
	58, 0, 143,
	58, 0, 144,
	59, 0, 144,
	59, 0, 144,
	59, 0, 144,
	60, 0, 145,
	60, 0, 145,
	60, 0, 145,
	61, 0, 145,
	61, 0, 146,
	61, 0, 146,
	62, 0, 146,
	62, 0, 146,
	63, 0, 146,
	63, 0, 147,
	63, 0, 147,
	64, 0, 147,
	64, 0, 147,
	64, 0, 148,
	65, 0, 148,
	65, 0, 148,
	65, 0, 148,
	66, 0, 148,
	66, 0, 149,
	66, 0, 149,
	67, 0, 149,
	67, 0, 149,
	67, 0, 149,
	68, 0, 150,
	68, 0, 150,
	68, 0, 150,
	69, 0, 150,
	69, 0, 151,
	69, 0, 151,
	70, 0, 151,
	70, 0, 151,
	70, 0, 151,
	71, 0, 151,
	71, 0, 152,
	72, 0, 152,
	72, 0, 152,
	72, 0, 152,
	73, 0, 152,
	73, 0, 153,
	73, 0, 153,
	74, 0, 153,
	74, 0, 153,
	74, 0, 153,
	75, 0, 154,
	75, 0, 154,
	75, 0, 154,
	76, 0, 154,
	76, 0, 154,
	76, 0, 154,
	77, 0, 155,
	77, 0, 155,
	77, 0, 155,
	78, 0, 155,
	78, 0, 155,
	78, 0, 156,
	79, 0, 156,
	79, 0, 156,
	79, 0, 156,
	80, 0, 156,
	80, 0, 156,
	80, 0, 157,
	81, 0, 157,
	81, 0, 157,
	81, 0, 157,
	82, 0, 157,
	82, 0, 157,
	82, 0, 158,
	83, 0, 158,
	83, 0, 158,
	83, 0, 158,
	84, 0, 158,
	84, 0, 158,
	84, 0, 158,
	85, 0, 159,
	85, 0, 159,
	85, 0, 159,
	86, 0, 159,
	86, 0, 159,
	87, 0, 159,
	87, 0, 160,
	87, 0, 160,
	88, 0, 160,
	88, 0, 160,
	88, 0, 160,
	89, 0, 160,
	89, 0, 160,
	89, 0, 161,
	90, 0, 161,
	90, 0, 161,
	90, 0, 161,
	91, 0, 161,
	91, 0, 161,
	91, 0, 161,
	92, 0, 162,
	92, 0, 162,
	92, 0, 162,
	93, 0, 162,
	93, 0, 162,
	93, 0, 162,
	94, 0, 162,
	94, 0, 162,
	94, 0, 163,
	95, 0, 163,
	95, 0, 163,
	95, 0, 163,
	96, 0, 163,
	96, 0, 163,
	96, 0, 163,
	97, 0, 163,
	97, 0, 164,
	97, 0, 164,
	98, 0, 164,
	98, 0, 164,
	98, 0, 164,
	99, 0, 164,
	99, 0, 164,
	99, 0, 164,
	100, 0, 164,
	100, 0, 165,
	100, 0, 165,
	101, 0, 165,
	101, 0, 165,
	101, 0, 165,
	102, 0, 165,
	102, 0, 165,
	102, 0, 165,
	103, 0, 165,
	103, 0, 166,
	103, 0, 166,
	104, 0, 166,
	104, 0, 166,
	104, 0, 166,
	105, 0, 166,
	105, 0, 166,
	105, 0, 166,
	106, 0, 166,
	106, 0, 166,
	106, 0, 166,
	107, 0, 167,
	107, 0, 167,
	107, 0, 167,
	108, 0, 167,
	108, 0, 167,
	109, 0, 167,
	109, 0, 167,
	109, 0, 167,
	110, 0, 167,
	110, 0, 167,
	110, 0, 167,
	111, 0, 167,
	111, 0, 167,
	111, 0, 168,
	112, 0, 168,
	112, 0, 168,
	112, 0, 168,
	113, 0, 168,
	113, 0, 168,
	113, 0, 168,
	114, 0, 168,
	114, 0, 168,
	114, 0, 168,
	115, 0, 168,
	115, 0, 168,
	115, 0, 168,
	116, 0, 168,
	116, 0, 168,
	116, 0, 168,
	117, 0, 168,
	117, 0, 168,
	117, 0, 169,
	118, 0, 169,
	118, 0, 169,
	118, 0, 169,
	119, 0, 169,
	119, 0, 169,
	119, 0, 169,
	120, 0, 169,
	120, 0, 169,
	120, 0, 169,
	121, 0, 169,
	121, 0, 169,
	121, 0, 169,
	122, 0, 169,
	122, 0, 169,
	122, 0, 169,
	123, 0, 169,
	123, 0, 169,
	123, 0, 169,
	123, 0, 169,
	124, 0, 169,
	124, 0, 169,
	124, 0, 169,
	125, 0, 169,
	125, 0, 169,
	125, 0, 169,
	126, 0, 169,
	126, 0, 169,
	126, 0, 169,
	127, 0, 169,
	127, 0, 169,
	127, 0, 169,
	128, 0, 169,
	128, 0, 169,
	128, 0, 169,
	129, 0, 169,
	129, 0, 169,
	129, 0, 169,
	130, 0, 169,
	130, 0, 169,
	130, 0, 169,
	131, 0, 169,
	131, 0, 169,
	131, 0, 169,
	132, 0, 169,
	132, 0, 169,
	132, 0, 169,
	133, 0, 169,
	133, 0, 169,
	133, 0, 169,
	134, 0, 169,
	134, 0, 169,
	134, 0, 169,
	135, 0, 169,
	135, 0, 168,
	135, 0, 168,
	135, 0, 168,
	136, 0, 168,
	136, 0, 168,
	136, 0, 168,
	137, 0, 168,
	137, 0, 168,
	137, 0, 168,
	138, 0, 168,
	138, 0, 168,
	138, 0, 168,
	139, 0, 168,
	139, 0, 168,
	139, 0, 168,
	140, 0, 168,
	140, 0, 168,
	140, 0, 167,
	141, 0, 167,
	141, 0, 167,
	141, 0, 167,
	141, 0, 167,
	142, 0, 167,
	142, 0, 167,
	142, 0, 167,
	143, 0, 167,
	143, 0, 167,
	143, 0, 167,
	144, 0, 167,
	144, 0, 166,
	144, 0, 166,
	145, 0, 166,
	145, 0, 166,
	145, 0, 166,
	146, 0, 166,
	146, 0, 166,
	146, 0, 166,
	146, 0, 166,
	147, 0, 165,
	147, 0, 165,
	147, 0, 165,
	148, 0, 165,
	148, 0, 165,
	148, 0, 165,
	149, 0, 165,
	149, 0, 165,
	149, 0, 165,
	149, 0, 164,
	150, 0, 164,
	150, 0, 164,
	150, 0, 164,
	151, 0, 164,
	151, 0, 164,
	151, 0, 164,
	152, 0, 164,
	152, 0, 163,
	152, 0, 163,
	152, 0, 163,
	153, 0, 163,
	153, 0, 163,
	153, 0, 163,
	154, 0, 163,
	154, 0, 162,
	154, 0, 162,
	155, 0, 162,
	155, 0, 162,
	155, 0, 162,
	155, 0, 162,
	156, 0, 161,
	156, 1, 161,
	156, 1, 161,
	157, 1, 161,
	157, 2, 161,
	157, 2, 161,
	157, 3, 161,
	158, 3, 160,
	158, 4, 160,
	158, 4, 160,
	159, 5, 160,
	159, 5, 160,
	159, 6, 160,
	159, 7, 159,
	160, 7, 159,
	160, 8, 159,
	160, 8, 159,
	161, 9, 159,
	161, 9, 158,
	161, 10, 158,
	161, 10, 158,
	162, 11, 158,
	162, 12, 158,
	162, 12, 158,
	163, 13, 157,
	163, 13, 157,
	163, 14, 157,
	163, 14, 157,
	164, 15, 157,
	164, 15, 156,
	164, 16, 156,
	164, 16, 156,
	165, 17, 156,
	165, 17, 156,
	165, 17, 155,
	166, 18, 155,
	166, 18, 155,
	166, 19, 155,
	166, 19, 155,
	167, 20, 154,
	167, 20, 154,
	167, 21, 154,
	167, 21, 154,
	168, 21, 154,
	168, 22, 153,
	168, 22, 153,
	169, 23, 153,
	169, 23, 153,
	169, 23, 153,
	169, 24, 152,
	170, 24, 152,
	170, 25, 152,
	170, 25, 152,
	170, 25, 152,
	171, 26, 151,
	171, 26, 151,
	171, 27, 151,
	171, 27, 151,
	172, 27, 151,
	172, 28, 150,
	172, 28, 150,
	173, 28, 150,
	173, 29, 150,
	173, 29, 149,
	173, 30, 149,
	174, 30, 149,
	174, 30, 149,
	174, 31, 149,
	174, 31, 148,
	175, 31, 148,
	175, 32, 148,
	175, 32, 148,
	175, 33, 147,
	176, 33, 147,
	176, 33, 147,
	176, 34, 147,
	176, 34, 147,
	177, 34, 146,
	177, 35, 146,
	177, 35, 146,
	177, 35, 146,
	178, 36, 145,
	178, 36, 145,
	178, 36, 145,
	178, 37, 145,
	179, 37, 144,
	179, 37, 144,
	179, 38, 144,
	179, 38, 144,
	180, 38, 144,
	180, 39, 143,
	180, 39, 143,
	180, 39, 143,
	181, 40, 143,
	181, 40, 142,
	181, 40, 142,
	181, 41, 142,
	182, 41, 142,
	182, 42, 141,
	182, 42, 141,
	182, 42, 141,
	183, 42, 141,
	183, 43, 141,
	183, 43, 140,
	183, 43, 140,
	184, 44, 140,
	184, 44, 140,
	184, 44, 139,
	184, 45, 139,
	185, 45, 139,
	185, 45, 139,
	185, 46, 138,
	185, 46, 138,
	185, 46, 138,
	186, 47, 138,
	186, 47, 138,
	186, 47, 137,
	186, 48, 137,
	187, 48, 137,
	187, 48, 137,
	187, 49, 136,
	187, 49, 136,
	188, 49, 136,
	188, 50, 136,
	188, 50, 135,
	188, 50, 135,
	189, 51, 135,
	189, 51, 135,
	189, 51, 134,
	189, 52, 134,
	189, 52, 134,
	190, 52, 134,
	190, 52, 134,
	190, 53, 133,
	190, 53, 133,
	191, 53, 133,
	191, 54, 133,
	191, 54, 132,
	191, 54, 132,
	192, 55, 132,
	192, 55, 132,
	192, 55, 131,
	192, 56, 131,
	192, 56, 131,
	193, 56, 131,
	193, 57, 130,
	193, 57, 130,
	193, 57, 130,
	194, 57, 130,
	194, 58, 130,
	194, 58, 129,
	194, 58, 129,
	194, 59, 129,
	195, 59, 129,
	195, 59, 128,
	195, 60, 128,
	195, 60, 128,
	196, 60, 128,
	196, 61, 127,
	196, 61, 127,
	196, 61, 127,
	196, 61, 127,
	197, 62, 126,
	197, 62, 126,
	197, 62, 126,
	197, 63, 126,
	197, 63, 126,
	198, 63, 125,
	198, 64, 125,
	198, 64, 125,
	198, 64, 125,
	199, 65, 124,
	199, 65, 124,
	199, 65, 124,
	199, 65, 124,
	199, 66, 123,
	200, 66, 123,
	200, 66, 123,
	200, 67, 123,
	200, 67, 123,
	200, 67, 122,
	201, 68, 122,
	201, 68, 122,
	201, 68, 122,
	201, 68, 121,
	202, 69, 121,
	202, 69, 121,
	202, 69, 121,
	202, 70, 120,
	202, 70, 120,
	203, 70, 120,
	203, 71, 120,
	203, 71, 120,
	203, 71, 119,
	203, 71, 119,
	204, 72, 119,
	204, 72, 119,
	204, 72, 118,
	204, 73, 118,
	204, 73, 118,
	205, 73, 118,
	205, 74, 118,
	205, 74, 117,
	205, 74, 117,
	205, 74, 117,
	206, 75, 117,
	206, 75, 116,
	206, 75, 116,
	206, 76, 116,
	206, 76, 116,
	207, 76, 116,
	207, 77, 115,
	207, 77, 115,
	207, 77, 115,
	207, 77, 115,
	208, 78, 114,
	208, 78, 114,
	208, 78, 114,
	208, 79, 114,
	208, 79, 113,
	209, 79, 113,
	209, 80, 113,
	209, 80, 113,
	209, 80, 113,
	209, 80, 112,
	210, 81, 112,
	210, 81, 112,
	210, 81, 112,
	210, 82, 111,
	210, 82, 111,
	211, 82, 111,
	211, 82, 111,
	211, 83, 111,
	211, 83, 110,
	211, 83, 110,
	212, 84, 110,
	212, 84, 110,
	212, 84, 109,
	212, 85, 109,
	212, 85, 109,
	212, 85, 109,
	213, 85, 109,
	213, 86, 108,
	213, 86, 108,
	213, 86, 108,
	213, 87, 108,
	214, 87, 108,
	214, 87, 107,
	214, 88, 107,
	214, 88, 107,
	214, 88, 107,
	215, 88, 106,
	215, 89, 106,
	215, 89, 106,
	215, 89, 106,
	215, 90, 106,
	215, 90, 105,
	216, 90, 105,
	216, 91, 105,
	216, 91, 105,
	216, 91, 104,
	216, 91, 104,
	217, 92, 104,
	217, 92, 104,
	217, 92, 104,
	217, 93, 103,
	217, 93, 103,
	218, 93, 103,
	218, 94, 103,
	218, 94, 102,
	218, 94, 102,
	218, 94, 102,
	218, 95, 102,
	219, 95, 102,
	219, 95, 101,
	219, 96, 101,
	219, 96, 101,
	219, 96, 101,
	219, 97, 101,
	220, 97, 100,
	220, 97, 100,
	220, 97, 100,
	220, 98, 100,
	220, 98, 99,
	221, 98, 99,
	221, 99, 99,
	221, 99, 99,
	221, 99, 99,
	221, 100, 98,
	221, 100, 98,
	222, 100, 98,
	222, 100, 98,
	222, 101, 97,
	222, 101, 97,
	222, 101, 97,
	222, 102, 97,
	223, 102, 97,
	223, 102, 96,
	223, 103, 96,
	223, 103, 96,
	223, 103, 96,
	223, 103, 96,
	224, 104, 95,
	224, 104, 95,
	224, 104, 95,
	224, 105, 95,
	224, 105, 94,
	224, 105, 94,
	225, 106, 94,
	225, 106, 94,
	225, 106, 94,
	225, 107, 93,
	225, 107, 93,
	225, 107, 93,
	226, 107, 93,
	226, 108, 92,
	226, 108, 92,
	226, 108, 92,
	226, 109, 92,
	226, 109, 92,
	227, 109, 91,
	227, 110, 91,
	227, 110, 91,
	227, 110, 91,
	227, 111, 91,
	227, 111, 90,
	227, 111, 90,
	228, 111, 90,
	228, 112, 90,
	228, 112, 89,
	228, 112, 89,
	228, 113, 89,
	228, 113, 89,
	229, 113, 89,
	229, 114, 88,
	229, 114, 88,
	229, 114, 88,
	229, 115, 88,
	229, 115, 87,
	229, 115, 87,
	230, 115, 87,
	230, 116, 87,
	230, 116, 87,
	230, 116, 86,
	230, 117, 86,
	230, 117, 86,
	231, 117, 86,
	231, 118, 86,
	231, 118, 85,
	231, 118, 85,
	231, 119, 85,
	231, 119, 85,
	231, 119, 84,
	232, 120, 84,
	232, 120, 84,
	232, 120, 84,
	232, 121, 84,
	232, 121, 83,
	232, 121, 83,
	232, 121, 83,
	233, 122, 83,
	233, 122, 82,
	233, 122, 82,
	233, 123, 82,
	233, 123, 82,
	233, 123, 82,
	233, 124, 81,
	234, 124, 81,
	234, 124, 81,
	234, 125, 81,
	234, 125, 80,
	234, 125, 80,
	234, 126, 80,
	234, 126, 80,
	234, 126, 80,
	235, 127, 79,
	235, 127, 79,
	235, 127, 79,
	235, 128, 79,
	235, 128, 78,
	235, 128, 78,
	235, 129, 78,
	235, 129, 78,
	236, 129, 78,
	236, 129, 77,
	236, 130, 77,
	236, 130, 77,
	236, 130, 77,
	236, 131, 76,
	236, 131, 76,
	236, 131, 76,
	237, 132, 76,
	237, 132, 76,
	237, 132, 75,
	237, 133, 75,
	237, 133, 75,
	237, 133, 75,
	237, 134, 74,
	237, 134, 74,
	238, 134, 74,
	238, 135, 74,
	238, 135, 74,
	238, 135, 73,
	238, 136, 73,
	238, 136, 73,
	238, 136, 73,
	238, 137, 72,
	238, 137, 72,
	239, 137, 72,
	239, 138, 72,
	239, 138, 72,
	239, 138, 71,
	239, 139, 71,
	239, 139, 71,
	239, 139, 71,
	239, 140, 70,
	239, 140, 70,
	240, 140, 70,
	240, 141, 70,
	240, 141, 70,
	240, 141, 69,
	240, 142, 69,
	240, 142, 69,
	240, 142, 69,
	240, 143, 68,
	240, 143, 68,
	240, 143, 68,
	241, 144, 68,
	241, 144, 67,
	241, 144, 67,
	241, 145, 67,
	241, 145, 67,
	241, 146, 67,
	241, 146, 66,
	241, 146, 66,
	241, 147, 66,
	241, 147, 66,
	241, 147, 65,
	242, 148, 65,
	242, 148, 65,
	242, 148, 65,
	242, 149, 65,
	242, 149, 64,
	242, 149, 64,
	242, 150, 64,
	242, 150, 64,
	242, 150, 63,
	242, 151, 63,
	242, 151, 63,
	242, 151, 63,
	243, 152, 62,
	243, 152, 62,
	243, 152, 62,
	243, 153, 62,
	243, 153, 62,
	243, 154, 61,
	243, 154, 61,
	243, 154, 61,
	243, 155, 61,
	243, 155, 60,
	243, 155, 60,
	243, 156, 60,
	243, 156, 60,
	243, 156, 59,
	244, 157, 59,
	244, 157, 59,
	244, 157, 59,
	244, 158, 59,
	244, 158, 58,
	244, 158, 58,
	244, 159, 58,
	244, 159, 58,
	244, 160, 57,
	244, 160, 57,
	244, 160, 57,
	244, 161, 57,
	244, 161, 56,
	244, 161, 56,
	244, 162, 56,
	244, 162, 56,
	245, 162, 56,
	245, 163, 55,
	245, 163, 55,
	245, 164, 55,
	245, 164, 55,
	245, 164, 54,
	245, 165, 54,
	245, 165, 54,
	245, 165, 54,
	245, 166, 53,
	245, 166, 53,
	245, 166, 53,
	245, 167, 53,
	245, 167, 53,
	245, 168, 52,
	245, 168, 52,
	245, 168, 52,
	245, 169, 52,
	245, 169, 51,
	245, 169, 51,
	245, 170, 51,
	245, 170, 51,
	245, 170, 50,
	245, 171, 50,
	245, 171, 50,
	246, 172, 50,
	246, 172, 50,
	246, 172, 49,
	246, 173, 49,
	246, 173, 49,
	246, 173, 49,
	246, 174, 48,
	246, 174, 48,
	246, 175, 48,
	246, 175, 48,
	246, 175, 47,
	246, 176, 47,
	246, 176, 47,
	246, 176, 47,
	246, 177, 47,
	246, 177, 46,
	246, 178, 46,
	246, 178, 46,
	246, 178, 46,
	246, 179, 45,
	246, 179, 45,
	246, 179, 45,
	246, 180, 45,
	246, 180, 45,
	246, 181, 44,
	246, 181, 44,
	246, 181, 44,
	246, 182, 44,
	246, 182, 43,
	246, 183, 43,
	246, 183, 43,
	246, 183, 43,
	246, 184, 43,
	246, 184, 42,
	246, 184, 42,
	246, 185, 42,
	246, 185, 42,
	246, 186, 41,
	246, 186, 41,
	246, 186, 41,
	246, 187, 41,
	246, 187, 41,
	246, 188, 40,
	246, 188, 40,
	246, 188, 40,
	246, 189, 40,
	246, 189, 40,
	246, 190, 39,
	246, 190, 39,
	246, 190, 39,
	246, 191, 39,
	246, 191, 39,
	246, 191, 38,
	245, 192, 38,
	245, 192, 38,
	245, 193, 38,
	245, 193, 38,
	245, 193, 37,
	245, 194, 37,
	245, 194, 37,
	245, 195, 37,
	245, 195, 37,
	245, 195, 36,
	245, 196, 36,
	245, 196, 36,
	245, 197, 36,
	245, 197, 36,
	245, 197, 35,
	245, 198, 35,
	245, 198, 35,
	245, 199, 35,
	245, 199, 35,
	245, 199, 35,
	245, 200, 34,
	245, 200, 34,
	244, 201, 34,
	244, 201, 34,
	244, 201, 34,
	244, 202, 34,
	244, 202, 33,
	244, 203, 33,
	244, 203, 33,
	244, 203, 33,
	244, 204, 33,
	244, 204, 33,
	244, 205, 32,
	244, 205, 32,
	244, 206, 32,
	244, 206, 32,
	244, 206, 32,
	243, 207, 32,
	243, 207, 32,
	243, 208, 32,
	243, 208, 31,
	243, 208, 31,
	243, 209, 31,
	243, 209, 31,
	243, 210, 31,
	243, 210, 31,
	243, 210, 31,
	243, 211, 31,
	242, 211, 31,
	242, 212, 30,
	242, 212, 30,
	242, 213, 30,
	242, 213, 30,
	242, 213, 30,
	242, 214, 30,
	242, 214, 30,
	242, 215, 30,
	242, 215, 30,
	241, 215, 30,
	241, 216, 30,
	241, 216, 30,
	241, 217, 30,
	241, 217, 29,
	241, 218, 29,
	241, 218, 29,
	241, 218, 29,
	240, 219, 29,
	240, 219, 29,
	240, 220, 29,
	240, 220, 29,
	240, 220, 29,
	240, 221, 29,
	240, 221, 29,
	240, 222, 29,
	239, 222, 29,
	239, 223, 29,
	239, 223, 29,
	239, 223, 29,
	239, 224, 29,
	239, 224, 29,
	239, 225, 29,
	238, 225, 29,
	238, 226, 29,
	238, 226, 29,
	238, 226, 29,
	238, 227, 29,
	238, 227, 29,
	238, 228, 29,
	237, 228, 29,
	237, 229, 29,
	237, 229, 29,
	237, 229, 29,
	237, 230, 29,
	237, 230, 30,
	236, 231, 30,
	236, 231, 30,
	236, 232, 30,
	236, 232, 30,
	236, 232, 30,
	236, 233, 30,
	235, 233, 30,
	235, 234, 30,
	235, 234, 30,
	235, 235, 30,
	235, 235, 30,
	235, 235, 30,
	234, 236, 30,
	234, 236, 30,
	234, 237, 30,
	234, 237, 30,
	234, 238, 30,
	233, 238, 30,
	233, 238, 30,
	233, 239, 30,
	233, 239, 30,
	233, 240, 30,
	232, 240, 30,
	232, 241, 30,
	232, 241, 30,
	232, 241, 30,
	232, 242, 30,
	231, 242, 30,
	231, 243, 30,
	231, 243, 29,
	231, 244, 29,
	231, 244, 29,
	231, 244, 29,
	230, 245, 29,
	230, 245, 28,
	230, 246, 28,
	230, 246, 28,
	230, 247, 27,
	229, 247, 27,
	229, 247, 26,
	229, 248, 26,
	229, 248, 25,
	229, 249, 25,
	228, 249, 24,
	228, 250, 23,
	228, 250, 22,
	228, 250, 21
};

ColorMapPlasma::ColorMapPlasma() {

}

ColorMapPlasma::~ColorMapPlasma() {

}

std::string ColorMapPlasma::Name() const {
	return "Plasma";
}

int ColorMapPlasma::Size() const {
	return NumberOfPlasmaColors_;
}

void ColorMapPlasma::ColorAt(int i, unsigned char& r, unsigned char& g, unsigned char& b) const {
	int index = i;
	if (index < 0) {
		index = 0;
	}
	if (index >= NumberOfPlasmaColors_) {
		index = NumberOfPlasmaColors_ - 1;
	}
	r = PlasmaColors_[index][0];
	g = PlasmaColors_[index][1];
	b = PlasmaColors_[index][2];
}

void ColorMapPlasma::ColorAt(int i, double& r, double& g, double& b) const {
	unsigned char bR = 0, bG = 0, bB = 0;
	ColorAt(i, bR, bG, bB);
	r = bR / 255.0f;
	g = bG / 255.0f;
	b = bB / 255.0f;
}
